package org.bhf.security.password;

/**
 * Generate random passwords
 */
public interface PasswordGenerator
{
    /**
     * Generate a randomg password using a configured minimum length.
     * @return Password
     */
    public String   generate();

    /**
     * Generate a randomg password using the specified minimum length.
     * @param minimumLength Minimum password length
     * @return Password at least <code>minimumLength</code> long.
     */
    public String   generate( final int minimumLength );
}
